The Linux du command also looks at the usage space, but unlike the DF command, the Linux du command is a view of the space used by files and directory disks, or some difference from the DF command.
What's the difference between Du/bin and Du-s/bin?
Du-ah--max-depth=1 This is what I want. A indicates that all files and folders (excluding subdirectories) are displayed in the directory, and H means that the max-depth represents the depth of the directory in a way that humans can read.
The du
The du command is a view of the space used by files and directory disks.(1) Usage:usage: du [options] [file](2) Function:function: report disk space usage(3) Option parameters:1)-A--all displays statistics on all files, not just subdirectories.2)-B--
Du-ah--max-depth=1 This is what I want the result of a means displays all files and folders (without subdirectories) in the directory, and H represents the depth of the directory in a way that humans can understand. max-depth. The du command is used
Du-ah--max-depth=1 This is what I want. A indicates that all files and folders (without subdirectories) are displayed in the directory, and H represents the depth of the directory in a way that humans can understand, max-depth.The du command is used
Tag: Use OS file 2014 re c
The Linux du command is used to view the space used, but unlike the DF command, the Linux du command is used to view the space used by files and directory disks, or is there some difference with the DF command.
1. Command
Function: Counts the size of the disk space that the directory (or file) occupies.
Syntax: du [options] [files or directories]
Parameters:
-S: Only the total number of blocks of data used for each names parameter is given.-A: Recursively displays
Linux Command Tutorial: view disk space using the du commandThe du command, that is, disk usage, can calculate the disk space occupied by files or directories. Command Format:
Du [Option] [file]Du [OPTION]… [FILE]…If no option is specified, it
In linux, the du and df commands also asked me about the command for viewing the directory size in Linux. now I have learned the commands du/df a while ago. A while ago, during the sub-test, the program could not be executed due to the full disk
The Linux du command also looks at the use of space, but unlike the DF command, the Linux du command is to see whether the currently specified file or directory (recursively displaying subdirectories) consumes disk space or is somewhat different
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.